package 传智播客_黑马.java基础.Permissions权限.One;
/*
在同一个类中:
    四种权限修饰符:public protected (default) private
 */
public class OneClass {
    private  int num1 = 10;
    int num2 = 20;
    protected  int num3 = 30;
    public  int num4 = 40;

//    public static void main(String[] args) {
//        System.out.println(num1);
//        System.out.println(num2);
//        System.out.println(num3);
//        System.out.println(num4);
//    }
}
